Skip to content

Add vcpkg installation instructions#421

Merged
facontidavide merged 3 commits intoBehaviorTree:masterfrom
FrankXie05:vcpkg-instructions
Feb 1, 2026
Merged

Add vcpkg installation instructions#421
facontidavide merged 3 commits intoBehaviorTree:masterfrom
FrankXie05:vcpkg-instructions

Conversation

@FrankXie05
Copy link
Contributor

BehaviorTree.CPP is available as a port in vcpkg, a C++ library manager that simplifies installation for BehaviorTree.CPP and other project dependencies. Documenting the install process here will help users get started by providing a single set of commands to build BehaviorTree.CPP, ready to be included in their projects.

We also test whether our library ports build in various configurations (dynamic, static) on various platforms (OSX, Linux, Windows: x86, x64) to keep a wide coverage for users.

I'm a maintainer for vcpkg, and here is what the port script looks like. We try to keep the library maintained as close as possible to the original library.😊

@facontidavide
Copy link
Collaborator

I do not maintain vcpkg and I don't know who does.
Apparently the latest supported version is 4.1.1 that I DO NOT want to encourage people to use the old and buggy version.

@FrankXie05
Copy link
Contributor Author

FrankXie05 commented Sep 14, 2023

@facontidavide We will maintain BehaviorTree.CPP on vcpkg, and we will perform version update maintenance.
And I will update the version.

@FrankXie05
Copy link
Contributor Author

The version on vcpkg has been update.

@facontidavide
Copy link
Collaborator

I bug problem I see there is this:

    -DBTCPP_GROOT_INTERFACE=OFF
    -DBTCPP_SQLITE_LOGGING=OFF

I know this makes it easier, but loosing those dependency is a big deal, in my opinion.

@FrankXie05
Copy link
Contributor Author

FrankXie05 commented Sep 28, 2023

I bug problem I see there is this:

    -DBTCPP_GROOT_INTERFACE=OFF
    -DBTCPP_SQLITE_LOGGING=OFF

I know this makes it easier, but loosing those dependency is a big deal, in my opinion.

These dependencies are mainly used for the construction of conan. I can solve it through patches, but this method only applies to vcpkg. I would like to ask if this method is allowed? 🫤

BTW, we may not maintain the conan problem, and my patch is just to change the dependency to vcpkg usage.

Here is the patch:
fix-conan.patch

@coderabbitai
Copy link

coderabbitai bot commented Feb 1, 2026

Warning

Rate limit exceeded

@facontidavide has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 38 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@facontidavide facontidavide merged commit e0684b0 into BehaviorTree:master Feb 1, 2026
12 of 13 checks passed
@codecov
Copy link

codecov bot commented Feb 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.90%. Comparing base (53040fa) to head (78ee78f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #421   +/-   ##
=======================================
  Coverage   65.90%   65.90%           
=======================================
  Files         225      225           
  Lines       12727    12727           
  Branches     1186     1186           
=======================================
  Hits         8388     8388           
  Misses       4289     4289           
  Partials       50       50           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants